package com.lyh.yobeiapplication.helper;

import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;

public class SharedPreferencesHelper {
    public static void setDeviceNum(Context context) {
        SharedPreferences pref = context.getSharedPreferences("pref_file_name",
                Context.MODE_PRIVATE);
        Editor editor = pref.edit();
        editor.putLong("pref_key_name", 0);
        editor.commit();
    }
}
